<!-- 新增节点内容-->
    <div class="modal-header">
        <button type="button" class="close" ng-click="vm.cancel();">&times;</button>
        <label class="modal-title" translate="新增节点"></label>
    </div>
    <div class="modal-body panel-body">
        <ng-form name="nodeAddOrUpdateForm" class="form-horizontal form-validation">
            <div class="col-md-12 form-group" >
                <label class="col-md-3 control-label">
                    <span class="text-danger">*</span>
                    <span translate="节点类型"></span>
                </label>
                <div class="col-md-8">
                    <select class="form-control" name=selectRadio
                            ng-options="c.value as c.name for c in vm.nodeTypes"
                            ng-model="vm.addNode.nodeType" ng-disabled="vm.isEdit"> </select>
                </div>
            </div>
            <div class="col-md-12 form-group" >
                <label class="col-md-3 control-label">
                    <span class="text-danger">*</span>
                    <span translate="父节点"></span>
                </label>
                <div class="col-md-8">
                    <input type="text" name="name" class="form-control" name="nodeName" id="nodeParentName"
                           ng-model="vm.parentTreeNode.name"
                           maxlength="32" required
                           uib-tooltip="{{app.getMessage('common.op.remind0',[1,32])}}" readonly/>
                </div>
            </div>
            <div class="col-md-12 form-group">
                <label class="col-md-3 control-label">
                    <span class="text-danger">*</span>
                    <span translate="节点名称"></span>
                </label>
                <div class="col-md-8">
                    <input type="text" name="name" class="form-control" name="nodeName" id="nodeNameID"
                           ng-model="vm.addNode.name"
                           maxlength="32" required
                           uib-tooltip="{{app.getMessage('common.op.remind0',[1,32])}}"/>
                </div>
            </div>
        </ng-form>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" ng-click="vm.cancel()" translate="common.cancel"></button>
        <button type="button" class="btn btn-primary" ng-click="vm.save()" translate="common.confirm"
                ng-disabled="nodeAddOrUpdateForm.$invalid"></button>
    </div>
